package xyz.xiaoshengfu.xrpc.admin.service;

import java.util.List;
import java.util.Map;

import xyz.xiaoshengfu.xrpc.config.ProviderServiceInfor;
import xyz.xiaoshengfu.xrpc.config.XRpcConfig;

public interface XRpcAdminService {
	public boolean adminLogin(String account, String password);

	public Map<String, Integer> getXRpcConfigListInfor();

	public List<XRpcConfig> getXRpcConfigList();

	public List<XRpcConfig> getXRpcConfigListByApplicationName(String applicationName);

	public XRpcConfig getXRpcConfigByApplicationName(String applicationName);

	public Map<String, List<ProviderServiceInfor>> getApplicationReferenceServiceListMap(String applicationName);

	public Map<String, List<String>> getApplicationServiceReferenceListMap(String applicationName);
}
